var monk = require('monk');
var db = monk('www.svwest.com:27017/cxy');

var user = db.get('user');
var post = db.get('post');
var cat = db.get('cat');
var msg = db.get('msg');
var post_comment = db.get('post_comment');

let dbmanager = {
	id:db.id,
	user,
	post,
	cat,
	msg,
	post_comment,
}

module.exports = dbmanager;